<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta name="copyright" content="Copyright (c) IBM Corporation and others 2011, 2016. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page."/>
    <link rel="stylesheet" href="../../book.css" charset="ISO-8859-1" type="text/css"/>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <meta http-equiv="Content-Style-Type" content="text/css"/>
    <title>
      JUnit View
    </title>
  </head>
  <body>
    <h1>
      JUnit View
    </h1>
    <p>
      The JUnit view shows you the JUnit test run progress and status, and allows you to rerun tests.
	</p>
    <table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Outline view">
      <caption>JUnit View commands:</caption>
      <thead>
        <tr>
          <th>
            <p>
              Command
            </p>
          </th>
          <th>
            <p>
              Name
            </p>
          </th>
          <th>
            <p>
              Description
            </p>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.junit/elcl16/select_next.svg" alt="Next Failed Test"/>
          </td>
          <td valign="top">
            <p>
              Next Failed Test
            </p>
          </td>
          <td valign="top">
            <p>
              Navigates to the next failed test.
            </p>
         </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.junit/elcl16/select_prev.svg" alt="Previous Failed Test"/>
          </td>
          <td valign="top">
            <p>
              Previous Failed Test
            </p>
          </td>
          <td valign="top">
            <p>
              Navigates to the previous failed test.
			</p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.junit/obj16/failures.svg" alt="Show Failures Only"/>
          </td>
          <td valign="top">
            <p>
              Show Failures Only
            </p>
          </td>
          <td valign="top">
            <p>
              Shows only failed tests.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.junit/obj16/testignored.svg" alt="Show Skipped Tests Only"/>
          </td>
          <td valign="top">
            <p>
              Show Skipped Tests Only
            </p>
          </td>
          <td valign="top">
            <p>
              Shows only skipped (ignored or assumption failed) tests.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.junit/elcl16/lock.svg" alt="Scroll Lock"/>
          </td>
          <td valign="top">
            <p>
             Scroll Lock
            </p>
          </td>
          <td valign="top">
            <p>
			  Changes if scroll lock should be enabled or not.
			</p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.junit/elcl16/relaunch.svg" alt="Rerun Test"/>
          </td>
          <td valign="top">
            <p>
              Rerun Test
            </p>
          </td>
          <td valign="top">
            <p>
              Rerun the test.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.junit/elcl16/relaunchf.svg" alt="Rerun Test - Failures First"/>
          </td>
          <td valign="top">
            <p>
              Rerun Test - Failures First
            </p>
          </td>
          <td valign="top">
            <p>
              Rerun the test, and run the failures first.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.junit/elcl16/stop.svg" alt="Stop JUnit Test Run"/>
          </td>
          <td valign="top">
            <p>
              Stop JUnit Test Run
            </p>
          </td>
          <td valign="top">
            <p>
              Stops the current JUnit test run.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.junit/elcl16/history_list.svg" alt="Test Run History"/>
          </td>
          <td valign="top">
            <p>
              Test Run History
            </p>
          </td>
          <td valign="top">
            <p>
              This menu displays a history of previously run tests.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            &nbsp;
          </td>
          <td valign="top">
            <p>
              Clear Terminated
            </p>
          </td>
          <td valign="top">
            <p>
              Clears all the terminated test runs from the histroy.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            &nbsp;
          </td>
          <td valign="top">
            <p>
              Import...
            </p>
          </td>
          <td valign="top">
            <p>
			  Imports a test run result from a XML file.
			</p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            &nbsp;
          </td>
          <td valign="top">
            <p>
              Import from URL...
            </p>
          </td>
          <td valign="top">
            <p>
              Imports a test run result via an URL.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            &nbsp;
          </td>
          <td valign="top">
            <p>
              Import URL from Clipboard
            </p>
          </td>
          <td valign="top">
            <p>
              Imports a test run result via an URL placed on clipboard.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            &nbsp;
          </td>
          <td valign="top">
            <p>
              Export
            </p>
          </td>
          <td valign="top">
            <p>
              Exports the test run result to a XML file.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.junit/elcl16/hierarchicalLayout.svg" alt="Show Tests in Hierarchy"/>
          </td>
          <td valign="top">
            <p>
              Show Tests in Hierarchy
            </p>
          </td>
          <td valign="top">
            <p>
              Shows the tests in a hierarchical layout.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            &nbsp;
          </td>
          <td valign="top">
            <p>
              Show Execution Time
            </p>
          </td>
          <td valign="top">
            <p>
              Shows execution time for the tests.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            &nbsp;
          </td>
          <td valign="top">
            <p>
              Layout
            </p>
          </td>
          <td valign="top">
            <p>
              Specifies the layout of the JUnit view.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            &nbsp;
          </td>
          <td valign="top">
            <p>
              Activate on Error/Failure Only
            </p>
          </td>
          <td valign="top">
            <p>
              Changes if the JUnit view should be activated only on error/failure or not.
            </p>
          </td>
        </tr>
      </tbody>
    </table>

    <h3 class="related">Related concepts</h3>
      <a href="../../concepts/concept-java-views.htm">Java views</a>

    <h3 class="related">Related references</h3>
     <a href="ref-viewsandeditors.htm">Views and editors</a>

  </body>
</html>

